﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Ruddish.UI.Froms;

namespace Ruddish.UI.UserControls
{
    public partial class UC_Shopp : UserControl
    {
        public UC_Shopp()
        {
            InitializeComponent();
        }
        private void Goods1_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint1.Text, GoodsName1.Text);
            shopPay.Show();
        }
        private void Goods2_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint2.Text, GoodsName2.Text);
            shopPay.Show();
        }

        private void Goods3_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint3.Text, GoodsName3.Text);
            shopPay.Show();
        }

        private void Goods4_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint4.Text, GoodsName4.Text);
            shopPay.Show();
        }

        private void Goods5_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint5.Text, GoodsName5.Text);
            shopPay.Show();
        }

        private void Goods6_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint6.Text, GoodsName6.Text);
            shopPay.Show();
        }

        private void Goods7_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint7.Text, GoodsName7.Text);
            shopPay.Show();
        }

        private void Goods8_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint8.Text, GoodsName8.Text);
            shopPay.Show();
        }

        private void Goods9_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint9.Text, GoodsName9.Text);
            shopPay.Show();
        }

        private void Goods10_MouseDown(object sender, MouseEventArgs e)
        {
            ShopPay shopPay = new ShopPay(GoodsPoint10.Text, GoodsName10.Text);
            shopPay.Show();
        }

        private void UC_Shopp_Load(object sender, EventArgs e)
        {

        }
    }
}
